import pandas as pd
import ssl

def run_pd():
    ssl._create_default_https_context = ssl._create_unverified_context
    url = 'https://www.runoob.com'
    dfs = pd.read_html(url)
    df = dfs[0]  # 选择第一个数据框
    print(df)


if __name__ == '__main__':
    run_pd()
